Fix thinko in node_should_be_visible()
authorFederico Mena Quintero <federico@novell.com>
Wed, 2 Sep 2009 23:26:00 +0000 (18:26 -0500)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 20:06:16 +0000 (22:06 +0200)
Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilesystemmodel.c

index c2fe884e0e38d082e7cf19786ba846e0e66ccb14..c66c20c692dc1f94cbda268b91510872b181e340 100644 (file)
@@ -313,7 +313,7 @@ node_should_be_visible (GtkFileSystemModel *model, guint id)
   if (required & GTK_FILE_FILTER_FILENAME)
     {
       filename = g_file_get_path (node->file);
-      if (filter_info.filename)
+      if (filename)
         {
           filter_info.filename = filename;
          filter_info.contains |= GTK_FILE_FILTER_FILENAME;